package com.app.yuanzhen.xjss;

import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.LinearLayout;

import com.zcq.mydemo2.UnityPlayerNativeActivity;


public class MainActivity extends UnityPlayerNativeActivity {

    LinearLayout mLin;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
       // UnityPlayerNativeActivity
        mLin= (LinearLayout) findViewById(R.id.main_root);
        mLin.addView(mUnityPlayer);


    }
}
